DX11 GLUE OBJECT TO OBJECT

Attaches the given source object to the specified target object.
This means that any movement / rotation of the source object will be relative to that of the target object, ie. when the target's translation changes, so does the source's.
3D entities (cameras, objects, limbs) can be glued together in arbitrarily complex hierarchies such that for example camera A is relative to object B which in turn is relative to limb C and so on,
but each individual entity may only be glued to one or zero "parent" entities each (the same parent entity can be used for an arbitrary amount of "child" entities however).
Take note that if you do not undo a glueing operation before deleting the target entity, the target will remain until everything that is glued to it is removed, either
by unglueing it or by deleting all entities glued onto it.

  Syntax
DX11 GLUE OBJECT TO OBJECT source, target
  Parameters
source
Dword
The object to attach to the target object.
target
Dword
The object to which transform the source object is attached. If set to nullptr, or zero, the function will work the same as DX11 UNGLUE OBJECT.

  Returns

This function does not return a value.

  See also

OBJECT Functions Menu
DX11 Function Categories